package cn.iocoder.yudao.module.wecom.controller.admin.momenttemplate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 朋友圈模板 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MomentTemplateRespVO {

    @Schema(description = "消息模板编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24898")
    @ExcelProperty("消息模板编号")
    private Long id;

    @Schema(description = "模板标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模板标题")
    private String title;

    @Schema(description = "模板内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模板内容")
    private String content;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "附件类型：0-无；1-图片；2-链接", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("附件类型：0-无；1-图片；2-链接")
    private Integer attachmentType;

    @Schema(description = "图片链接地址，最多9个", example = "https://www.iocoder.cn")
    @ExcelProperty("图片链接地址，最多9个")
    private List<String> imgUrl;

    @Schema(description = "链接的标题")
    @ExcelProperty("链接的标题")
    private String linkTitle;

    @Schema(description = "链接缩略图", example = "https://www.iocoder.cn")
    @ExcelProperty("链接缩略图")
    private String linkPicUrl;

    @Schema(description = "链接URL", example = "https://www.iocoder.cn")
    @ExcelProperty("链接URL")
    private String linkUrl;

    @Schema(description = "链接描述")
    @ExcelProperty("链接描述")
    private String linkDesc;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}